package com.onlineMIS.ORM.entity.headQ.barcodeGentor;

/**
 * 吊牌打印VO
 * @author Administrator
 *
 */
public class TagPrintVO {
	
	private String barcode;
	private String brand;
	private String productCode;
	private String color;
	private String category;
	private double salesPrice;
	private int quantity;
	private String dan;//段位
	private int size;//码段
	private String componentOne;
	private String componentTwo;
	private String componentThree;
	private String componentFour;
	private String componentFive;
	private String level;
	private String executeStandard;
	private String securityType;
	private String categoryLevel;
	private String productIdentity;
	private String factoryCode;
	
	public TagPrintVO(ProductBarcode productBarcode,int size) {
		Product product = productBarcode.getProduct();
		this.barcode = productBarcode.getBarcode();
		this.brand = product.getBrand().getBrand_Name();
		this.productCode = product.getProductCode();
		this.color = productBarcode.getColor().getName();
		this.category = product.getCategory().getCategory_Name();
		this.salesPrice = product.getSalesPrice();
		this.quantity = 1;
		this.dan = product.getSizeMin()+"-"+product.getSizeMax();
		this.size = size;
		this.categoryLevel = product.getCategoryLevel1().getCategory_Code();
		this.productIdentity = product.getProductIdentity()+productBarcode.getColor().getName();
		this.factoryCode = product.getFactoryCode();
	}
	public String getBarcode() {
		return barcode;
	}
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public double getSalesPrice() {
		return salesPrice;
	}
	public void setSalesPrice(double salesPrice) {
		this.salesPrice = salesPrice;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public String getDan() {
		return dan;
	}
	public void setDan(String dan) {
		this.dan = dan;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public String getComponentOne() {
		return componentOne;
	}
	public void setComponentOne(String componentOne) {
		this.componentOne = componentOne;
	}
	public String getComponentTwo() {
		return componentTwo;
	}
	public void setComponentTwo(String componentTwo) {
		this.componentTwo = componentTwo;
	}
	public String getComponentThree() {
		return componentThree;
	}
	public void setComponentThree(String componentThree) {
		this.componentThree = componentThree;
	}
	public String getComponentFour() {
		return componentFour;
	}
	public void setComponentFour(String componentFour) {
		this.componentFour = componentFour;
	}
	public String getComponentFive() {
		return componentFive;
	}
	public void setComponentFive(String componentFive) {
		this.componentFive = componentFive;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public String getExecuteStandard() {
		return executeStandard;
	}
	public void setExecuteStandard(String executeStandard) {
		this.executeStandard = executeStandard;
	}
	public String getSecurityType() {
		return securityType;
	}
	public void setSecurityType(String securityType) {
		this.securityType = securityType;
	}
	public String getCategoryLevel() {
		return categoryLevel;
	}
	public void setCategoryLevel(String categoryLevel) {
		this.categoryLevel = categoryLevel;
	}
	public String getProductIdentity() {
		return productIdentity;
	}
	public void setProductIdentity(String productIdentity) {
		this.productIdentity = productIdentity;
	}
	public String getFactoryCode() {
		return factoryCode;
	}
	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}
	
	
}
